package com.example.itshome.network;

import android.app.Activity;
import com.example.itshome.entity.ActivityEntity;
import com.example.itshome.entity.RescueStationEntity;

public class GetSearchRescueStationRequest extends AbstractRecycleVIewGetRequest<RescueStationEntity>{
    private String searchValue;

    public GetSearchRescueStationRequest setSearchValue(String searchValue) {
        this.searchValue = searchValue;
        return this;
    }

    public GetSearchRescueStationRequest(Activity activity) {
        super(activity);
    }

    @Override
    protected String getPathAndParams() {
        return "";
    }

    @Override
    protected void handleResult(String result) {
        setHandleResultRunnable(new Runnable() {
            @Override
            public void run() {
                addItem(new RescueStationEntity(" ","啾啾","233412"));
            }
        });
    }
}
